<li id="entry_{{entry.id}}" {% if last %}class="last"{% endif %}>
     <div>
       <div class="left ">
        <div class="user">
           <dl>
               <dt>{{ "naam" | trans({},"guestbook") | raw }}: </dt><dd>{{ entry.name }}</dd>
               <dt>{{ "plaats" | trans({},"guestbook") | raw }}: </dt><dd>{{ entry.place }}</dd>
               <dt>{{ "datum" | trans({},"guestbook") | raw }}: </dt><dd>{{ entry.datum|date('d-m-Y') }}</dd>
               {% if is_granted("ROLE_ADMIN") %}
				<dt>Ip-adres: </dt><dd>{{ entry.ip }}</dd>
				{% endif %}
           </dl>
           <span class="arrow"><span></span></span>
        </div>
       </div>
       <div class="right">
            <div class="message">
           {{ entry.bericht | raw}}
           </div>
            {% if entry.parent is none %}
           <div>
           <p style="float:right;"><a href="#" class="action reacties JsOnly" index="{{entry.id}}"><span>{{ "bekijk.verberg" | trans({},"guestbook") | raw }} ({{ entry.children.count }})</span></a><a href="{{ path('guestbook_sign',{'comment': entry.id}) }}" class="action reageer"><span>{{ "reageer" | trans({},"guestbook") | raw }}</span></a></p>
           </div>
       
            {% endif %}
                <div id="tools" style="display:none;">
          
       <a class="action" id="delete" entryid="{{ entry.id }}" href="{{ path('guestbook_delete',{'_locale': app.session.locale, 'entry':entry.id}) }}"><span><img src="{{ asset('images/layout/icons/delete.png') }}" class="clickable" /></span></a>
    </div>
         <div id="dialog_{{ entry.id }}" style="display:none;" title="Bevestig verwijderen?">

            Weet je zeker dat je het bericht van {{ entry.name }} wil verwijderen?

        </div>
       </div>
    </div>
    <div class="comments" style="margin-left:50px;display:none;" class="NoJs">
     {% if entry.parent is none %}
     <ol class="entries entrys">
        {% for comment in entry.children %}
             {% include "PopshouseSiteBundle:Guestbook:entry.html.twig" with {'entry': comment, 'last': loop.last}  %}
       {% endfor %}
     </ol>
      {% endif %}
    </div>
    
</li>